<%if @errors != []%>
     <%@errors.each do |e| %>
          <%= content_tag(:div, {:id=>"errors", :class=>"alert alert-danger"} ) do%>
               <%=button_tag "\u00D7", {:class=>"close", :data=>{:dismiss=>"alert"}, :aria=>{:hidden=>true}}%>
               <%=e%>
          <%end%>
     <%end%>
<%end%>
